public class PlayingCard {
    private String sort;//花色
    private int rank;//大小

    public PlayingCard(String sort, int rank) {
        this.sort = sort;
        this.rank = rank;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    @Override
    public String toString() {
        return "花色:"+ sort  +" "+ "数字:" + rank;
    }
}
